<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="t" %>
<%
	request.setAttribute("path", request.getContextPath());
%>
<!DOCTYPE html>
<html>
<head>
	<title>致-青春 ${userInfo.usr }的评论</title>
	<link rel="stylesheet" type="text/css" href="${path}/css/base.css" />
	<script type="text/javascript" src="${path}/js/jquery-1.10.2.min.js"></script>
	<script type="text/javascript">
	</script>
</head>
<body>
	<div id="container">
		<jsp:include page="/page/common/header.jsp"></jsp:include>
		<div id="kernel" class="center-box">
		<form name='f1' method="post">
		<div class="category">
			<h1>${userInfo.usr }的评论</h1>
			<ul>
			<c:forEach items="${list }" var="comment">
				<li>
					<p class="user-zone-comment-content">${comment.content }</p>
					<p class="user-zone-comment-info">
						<fmt:formatDate value="${comment.time }" pattern="yyyy-MM-dd HH:mm:ss"/>
						在
						<a href="article.html?id=${comment.articleId }">
							${comment.articleDO.title }
						</a>
					</p>
				</li>
			</c:forEach>
			</ul>
			<div class="pager"><!-- 暂时没有这个css样式 -->
				<t:page formName="f1"/>
			</div>
		</div>
		</form>
		
		<div class="sidebar">
			<jsp:include page="/sidebar.html"></jsp:include>
		</div>
		
		</div>
		<jsp:include page="/page/common/footer.jsp"></jsp:include>
	</div>
</body>
</html>